<!doctype html>
<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8"
	language="java"%>
<%@ include file="/jsp/mobile/include/include.jsp"%>
<%
    response.setHeader("Cache-Control", "no-store");
    response.setHeader("Pragrma", "no-cache");
    response.setDateHeader("Expires", 0);
%>
<html lang="cn">
<head>
<%@ include file="/jsp/mobile/include/header.jsp"%>
<title>信用卡还款</title>
</head>
<body>
	<div class="main">
		<c:choose>
			<c:when test="${fn:length(list) > 0}">
				<div class="uiop">
					<c:forEach var="creditCard" items="${list}">
						<dl class="clearfix"
							onclick="dealSelect('<c:out value="${creditCard.bankAccount}"/>');">
							<dt>
								<img
									src="<%=request.getContextPath()%>/images/mobile/${creditCard.bankCode}.png">
							</dt>
							<dd>
								<p class="ti">
									<common:getDicByCode key="2100" value="${creditCard.bankCode}" />
								</p>
								<p class="ci">
									<span>尾号<c:out value="${creditCard.lastCardNo}" />
									</span> <span class="ml10"><c:out
											value="${creditCard.shortName}" />
									</span>
								</p>
								<c:if test="${creditCard.notifyFlag == '1'}">
									<div class="modl">
										<p class="to">还款</p>
										<p class="co">
											提醒日：每月
											<c:out value="${creditCard.notifyDate}" />
											日
										</p>
									</div>
								</c:if>

							</dd>
						</dl>
					</c:forEach>
				</div>
			</c:when>
			<c:otherwise>
				<div align="center" class="mt40">
					<img src="<%=request.getContextPath()%>/images/mobile/kd_03.png"
						width="160">
				</div>
			</c:otherwise>
		</c:choose>
	</div>
	<div class="adxyk" style="font-size: 18px;">
		<i class="ico ico47"></i>添加信用卡
	</div>

	<script type="text/javascript">
	function dealSelect(_bankAccount)
	{
		 window.location.href = "<%=request.getContextPath()%>/mobile/index/repayTradePre?cardNo=" + _bankAccount ;
	}

    $(".adxyk").bind("click", function() {
        window.location.href = "<%=request.getContextPath()%>/mobile/index/addCreditCardPre";
						});
	</script>
</body>
</html>